package edu.upc.viajes.domain;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@RooJavaBean
@RooToString
@RooEntity
public class Servicio {

    @NotNull
    @Size(max = 10)
    private String serv_cod;

    @NotNull
    @Size(max = 10)
    private String serv_nom;

    @NotNull
    @Size(max = 50)
    private String serv_cat;

    @NotNull
    @Size(max = 50)
    private String serv_desc;

    @NotNull
    @Size(max = 50)
    private String serv_durac;

    @NotNull
    @Size(max = 50)
    private String serv_ubic;

    private Float serv_costo;
}
